'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/home/init', controller.home.init);
  router.post('/home/uploadImage', controller.home.uploadImage);
  router.post('/home/delImage', controller.home.delImage);
};
